﻿namespace Sidvall.AuthorizationManager.UI.ViewModels
{
    public partial class AuthorizationScopeCollectionViewModel : Sidvall.AuthorizationManager.UI.ViewModels.Core.EntityListViewModelBase<global::Sidvall.AuthorizationManager.UI.Entities.AuthorizationScopeCollection, global::Sidvall.AuthorizationManager.UI.Entities.AuthorizationScope>
    {
        protected override string ViewModelResource
        {
            get 
            { 
                return global::Sidvall.AuthorizationManager.Data.Model.DomainObjects.AuthorizationScope;
            }
        }

        protected override async System.Threading.Tasks.Task<global::Sidvall.AuthorizationManager.UI.Entities.AuthorizationScopeCollection> SaveItemAsync(global::Sidvall.AuthorizationManager.UI.Entities.AuthorizationScopeCollection item)
        {
            return await item.SaveItemsAsync();
        }
    }
}